<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <script type="text/javascript" src="/js/axios-0.18.0.min.js"></script>
     <script>
        let url = 'http://127.0.0.1:8000/test1/';
    axios.post(url)
        .then(function(response){
            alert(response.data.message)
        })
        .catch(function(error){
            alert(error)
        })
    </script>
</head>
<body>
<h3>测试页面</h3>

</body>
</html>